Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
dot-store-iframe
Advanced tools
Iframe controller integration for dot-store.
npm install --save dot-store-iframe
import DotStore from "dot-store"
import withIframe from "dot-store-iframe"
const store = new DotStore()
export default withIframe(store)
import iframeStore from "./iframeStore"
iframeStore.set("dfp.viewportMaps", [
[1200, 800],
[1024, 768],
[768, 1024],
[732, 412],
[568, 320],
[360, 640],
[320, 568],
[0, 0],
])
iframeStore.set("dfp.units.top1", {
sizes: [[300, 50], [300, 100], [728, 90]],
viewportSizes: [
[[300, 100], [728, 90]],
[[300, 100], [728, 90]],
[[300, 100], [728, 90]],
[[300, 50], [300, 100], [728, 90]],
[[300, 50], [300, 100]],
[[300, 50], [300, 100]],
[[300, 50], [300, 100]],
[[300, 50], [300, 100]],
],
})
iframeStore.set("iframes.div1", {
active: true,
divId: "div1",
dfp: {
oop: false,
path: "/01234567/unit/path",
unitId: "top1",
},
})
iframeStore.on("dfp.loaded", options => {
// dfp loaded
})
iframeStore.on("iframes.div1.slot", options => {
// slot created
})
iframeStore.on("iframes.div1.loaded", options => {
// slot loaded
})
iframeStore.on("iframes.div1.rendered", options => {
// slot rendered
})
FAQs
Iframe controller integration for dot-store
We found that dot-store-iframe demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.